[INFO] fetching crate posthog-rs 0.2.2...
[INFO] building posthog-rs-0.2.2 against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] extracting crate posthog-rs 0.2.2 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate posthog-rs 0.2.2 on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate posthog-rs 0.2.2
[INFO] finished tweaking crates.io crate posthog-rs 0.2.2
[INFO] tweaked toml for crates.io crate posthog-rs 0.2.2 written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 40935795f7957ace89085b8b35458248e6a06b1aabef1e243854e3b730a2122c
[INFO] running `Command { std: "docker" "start" "-a" "40935795f7957ace89085b8b35458248e6a06b1aabef1e243854e3b730a2122c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "40935795f7957ace89085b8b35458248e6a06b1aabef1e243854e3b730a2122c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40935795f7957ace89085b8b35458248e6a06b1aabef1e243854e3b730a2122c", kill_on_drop: false }`
[INFO] [stdout] 40935795f7957ace89085b8b35458248e6a06b1aabef1e243854e3b730a2122c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] af429381dd18553207f498ca07ba2620c79e13c10d13540e9b93aea4632c2c57
[INFO] running `Command { std: "docker" "start" "-a" "af429381dd18553207f498ca07ba2620c79e13c10d13540e9b93aea4632c2c57", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling unicode-ident v1.0.4
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling once_cell v1.14.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling bytes v1.2.1
[INFO] [stderr]    Compiling futures-core v0.3.24
[INFO] [stderr]    Compiling tokio v1.21.1
[INFO] [stderr]    Compiling itoa v1.0.3
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling serde_derive v1.0.144
[INFO] [stderr]    Compiling futures-task v0.3.24
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling socket2 v0.4.7
[INFO] [stderr]    Compiling openssl-sys v0.9.75
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling tracing-core v0.1.29
[INFO] [stderr]    Compiling futures-util v0.3.24
[INFO] [stderr]    Compiling openssl v0.10.41
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling serde v1.0.144
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling tracing v0.1.36
[INFO] [stderr]    Compiling futures-io v0.3.24
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-channel v0.3.24
[INFO] [stderr]    Compiling futures-sink v0.3.24
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling tokio-util v0.7.4
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling h2 v0.3.14
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling serde_json v1.0.85
[INFO] [stderr]    Compiling hyper v0.14.20
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.48
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling ipnet v2.5.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling chrono v0.4.22
[INFO] [stderr]    Compiling reqwest v0.11.11
[INFO] [stderr]    Compiling posthog-rs v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 48.20s
[INFO] running `Command { std: "docker" "inspect" "af429381dd18553207f498ca07ba2620c79e13c10d13540e9b93aea4632c2c57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af429381dd18553207f498ca07ba2620c79e13c10d13540e9b93aea4632c2c57", kill_on_drop: false }`
[INFO] [stdout] af429381dd18553207f498ca07ba2620c79e13c10d13540e9b93aea4632c2c57
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b41039a5973361624342204afec939b16e5e4338ce3851d8a990865355b077bf
[INFO] running `Command { std: "docker" "start" "-a" "b41039a5973361624342204afec939b16e5e4338ce3851d8a990865355b077bf", kill_on_drop: false }`
[INFO] [stderr]    Compiling posthog-rs v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] error: environment variable `POSTHOG_API_KEY` not defined
[INFO] [stdout]    --> src/lib.rs:147:36
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let client = crate::client(env!("POSTHOG_API_KEY"));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Utc`
[INFO] [stdout]    --> src/lib.rs:143:18
[INFO] [stdout]     |
[INFO] [stdout] 143 |     use chrono::{Utc};
[INFO] [stdout]     |                  ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `posthog-rs` due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "b41039a5973361624342204afec939b16e5e4338ce3851d8a990865355b077bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b41039a5973361624342204afec939b16e5e4338ce3851d8a990865355b077bf", kill_on_drop: false }`
[INFO] [stdout] b41039a5973361624342204afec939b16e5e4338ce3851d8a990865355b077bf
